package com.company;

public class BooleanDemo {
    public static void main(String[] args) {
        Boolean b1 = new Boolean(true);
        Boolean b2=new Boolean("ok");
        Boolean b3=new Boolean("true");
        System.out.println("b1 转换为 boolean 值是："+ b1);
        System.out.println("b2 转换为 boolean 值是："+ b2);
        System.out.println("b3 转换为 boolean 值是："+ b3);
    }
}
